package com.dc.dao;

import java.util.List;
import java.util.Map;

public interface MessageDao {
    public int addMessage(String sql) throws Exception;
    public int updateMessage(String sql) throws Exception;
    public int deleteMessage(String sql) throws Exception;
    public List<Map<String,Object>> selectMessage(String sql, Object[]params) throws Exception;
    public List<Map<String,Object>> selectMessageid(String sql) throws  Exception;
}
